MotoPress\Appointment\Repositories\CustomerRepository A

Total Complexity 64
Dependencies 5
Dependents 1
Total lines 456
Lines of code 282
Logical lines of code 164
Comment lines 81
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
saveBookingCustomer()
A
43 12 51
findAll()
A
43 10 47
save()
A
43 9 50
mapDataToEntity()
A
49 10 33
delete()
S
52 5 25
updateLastActive()
S
58 4 17
getTotalBookingsOfCustomer()
S
60 2 13
findByColumnValue()
S
61 2 11
findById()
S
70 2 6
findByUserId()
S
70 2 6
findByEmail()
S
71 2 6
findByPhone()
S
71 2 6
findAllAssociatedUserIds()
S
69 1 6
getTotalCustomers()
S
72 1 5